Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Networking and Communications > AppleShare >

User Authentication Modules


Client User Authentication Modules

Client user authentication modules (UAMs) are used by AppleTalk Filing Protocol (AFP) clients to implement custom user authentication methods for connecting to and authenticating with an AFP server.

Currently, a UAM is called when the following actions occur:

Client UAMs must implement a UAMCall routine that can be called by an AFP client or by any other application that needs to authenticate a user. The UAMCall routine must implement the following commands:

Client UAMs can optionally implement the following additional commands:

IMPORTANT

The UAMCall routine is always called at system task time.

Client UAMs use callback routines to communicate with an AFP client. The AFP client makes following callback routines available:

UAM files reside in the AppleShare Folder inside the System Folder and have a type code of 'uams'.

Setting bit 12 ( gestaltAFPClientUAMv2 ) of the high word of the 'afps' Gestalt response indicates that an AFP client supports the UAM interface described in this chapter.


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)